<template>
  <div class="container">
    <router-view></router-view>
    <router-view name="footer"></router-view>
  </div>
</template>
<style lang="scss">
* {
  padding: 0;
  margin: 0;
}
html,
body,
#app,
.container {
  width: 100%;
  height: 100%;
}
.container {
  display: flex;
  flex-direction: column;
  background: #efefef;
  .box {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    .header {
      height: 50px;
    }
    .content {
      flex: 1;
      overflow: auto;
    }
  }
  .footer {
    height: 50px;
  }
}
</style>
